package site.yunnong.atvris.common.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author zjh
 * @date 2021/8/21 21:02
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class SearchVideoParam {
    
    @ApiModelProperty("搜索关键字，若为空，不返回数据")
    private String keyword;
    
    @ApiModelProperty("搜索排序类型，参见VideoSortEnum")
    private Integer searchSortType;
    
    @ApiModelProperty("搜索视频长度类型，参见VideoTimeTypeEnum")
    private Integer searchVideoTimeType;
    
    @ApiModelProperty("分区id")
    private Long pid;
    
    @ApiModelProperty("页码，默认填1")
    private Integer pageNum;
    
    @ApiModelProperty("页内纪录个数，默认填20")
    private Integer pageSize;
}
